import { FriendsList } from "./FriendsList";
import { FriendInfo } from "../../model/FriendInfo";
import { DataProvider } from "../../../../fl/data/DataProvider";
import { Vector } from "../../../../__AS3__/vec/Vector";
//class FriendsPanel
    
    export  class FriendsPanel /* flash.display.Sprite */
    {
        constructor()
        {
            
            this.init();
            return;
        }

        /* internal  */init(): void
        {
            this._friendsList = new FriendsList();
            this.addChild(this._friendsList);
            return;
        }

        public updateFriendData(arg1: Vector.<FriendInfo>): void
        {
            var loc2=null;
            var loc1=new DataProvider();
            var loc3=0;
            var loc4=arg1;
            for(loc2 of loc4) 
            {
                loc1.addItem(loc2);
            }
            return;
        }

        /* internal */ /* var */_friendsList: FriendsList;
    }
